package com.xtaller.easy.admin.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.xtaller.common.bean.Where;
import com.xtaller.easy.admin.model.SysOrganizational;

/**
* Created by Taller on 2018/06/02
*/
public interface ISysOrganizationalService {
   /******************* CURD ********************/ 
   // 创建 
   SysOrganizational createModel(SysOrganizational model); 
   // 删除 
   Boolean deleteModel(Object ids,String reviser);
   // 修改 
   SysOrganizational updateModel(SysOrganizational model); 
   // 查询 
   List<SysOrganizational> findByIds(Object ids);
   // 属于 
   Boolean exist(List<Where> w); 
   // 查询一个id是否存在 
   Boolean existId(Object id); 
   // 获取所有 
   List<SysOrganizational> getData();
   /******************* CURD ********************/ 
   Boolean checkParentId(String parentId);
   List<JSONObject> getByKey(JSONObject object);
}